-
Home
-
Tutor LMS – eLearning and online course solution
-
3.9.1 (latest)
-
Code
-
Classes
- OrderController
| Total Complexity |
119 |
| Dependencies |
14 |
| Dependents |
5 |
| Total lines |
1,192 |
| Lines of code |
671 |
| Logical lines of code |
366 |
| Comment lines |
348 |
| Methods |
23 |
| Properties |
1 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_order() |
B |
36 |
15 |
77 |
| make_refund() |
B |
33 |
13 |
103 |
| bulk_action_handler() |
A |
40 |
13 |
62 |
| add_discount() |
A |
41 |
9 |
59 |
| count_order() |
A |
45 |
10 |
39 |
| prepare_bulk_actions() |
S |
53 |
6 |
25 |
| add_comment() |
S |
47 |
5 |
37 |
| order_cancel() |
S |
50 |
5 |
31 |
| tabs_key_value() |
S |
48 |
4 |
33 |
| refund_from_payment_gateway() |
S |
58 |
5 |
15 |
| order_mark_as_paid() |
S |
51 |
4 |
28 |
| get_order_by_id() |
S |
54 |
4 |
25 |
| get_orders() |
S |
54 |
4 |
21 |
| filter_calculate_single_order_tax_amount() |
S |
57 |
4 |
16 |
| validate() |
S |
59 |
3 |
15 |
| prepare_refund_data() |
S |
55 |
2 |
19 |
| __construct() |
S |
59 |
2 |
13 |
| __get() |
S |
73 |
2 |
5 |
| get_order_page_url() |
S |
69 |
2 |
7 |
| bulk_delete_order() |
S |
63 |
2 |
10 |
| update_order_status() |
S |
59 |
1 |
15 |
| get_discount_data() |
S |
66 |
2 |
8 |
| get_refund_data() |
S |
66 |
2 |
8 |